#ifndef _ARRAY_H_
#define _ARRAY_H_

template <class T, int N>
struct array {
public:
	typedef T data_type;
	data_type memblock [N];

	void set(int i, const data_type& value) {
		memblock[i] = value;
	}

	data_type& get(int i) {
		return memblock[i];
	}

	data_type& operator[](int i) {
		return memblock[i];
	}
};

#endif